package com.hunttown.mes.rpc.api;

import com.hunttown.mes.rpc.domain.TransportExpenseDetailDTO;
import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.query.TransportExpenseDetailDTOQuery;

import java.util.List;

/**
 * created by wangjunfu on 2019-07-07 10:50:30
 */
public interface TransportExpenseDetailRpcService {

    TransportExpenseDetailDTO insert(TransportExpenseDetailDTO transportExpenseDetailDTO);

    List<TransportExpenseDetailDTO> insertForBatch(List<TransportExpenseDetailDTO> batchList);

    Boolean updateInfoById(TransportExpenseDetailDTO transportExpenseDetailDTO);

    Boolean updateInfoByQuery(TransportExpenseDetailDTOQuery transportExpenseDetailDTOQuery);

    TransportExpenseDetailDTO selectById(Integer id);

    TransportExpenseDetailDTO selectObjByQuery(TransportExpenseDetailDTOQuery transportExpenseDetailDTOQuery);

    Page<TransportExpenseDetailDTO> getListForPage(TransportExpenseDetailDTOQuery transportExpenseDetailDTOQuery);

    Boolean deleteById(Integer id);
}